<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../resources/bootstrap/css/bootstrap.css">
    <script type="text/JavaScript" scr="inputfile.js">
    </script>
</head>
<body>
<!-- Пишите код здесь -->

</html>
<div class="row">
    <div class="span5">
        <form:form id="form" modelAttribute="authorizationUser" method="POST" action="/login">
            <h2 class="input-block-level">Authorization</h2>
            <table>
                <tr>
                    <td><form:label path="authorizationUser.login">*Login:</form:label></td>
                    <td><form:input path="authorizationUser.login" type="text" name="name"/></td>
                </tr>
                <tr>
                    <td><form:label path="authorizationUser.password">* Password:</form:label></td>
                    <td><form:input path="authorizationUser.password" type="password"/>
                    </td>
                </tr>
                <tr>
                    <td><input type="submit" value="Log in" class="btn btn-large btn-primary"/></td>
                </tr>
            </table>
        </form:form>
    </div>

    <h2 class="input-block-level">Regestration</h2>
    <form:form id="form" enctype="multipart/form-data" modelAttribute="/Regestration" method="POST"
               action="/RequestMapping">
        <table>
            <tr>
                <td><form:label path="registrationUser.Login">*
                    Login:
                </form:label></td>
                <td>
                    <form:input path="registrationUser.Login" type="text" name="name" class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.Password">*
                    Password:
                </form:label></td>
                <td>
                    <form:input path="registrationUser.Password" type="password" class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.E-mail">*
                    E-mail:
                </form:label></td>
                <td>
                    <form:input path="registrationUser.E-mail" type="text" name="name" class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.Name">*
                    Name:
                </form:label></td>
                <td>
                    <form:input path="registrationUser.Name" type="text" name="name" class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.Surname">*
                    Surname:
                </form:label></td>
                <td>
                    <form:input  path="registrationUser.Surname" type="text" name="name"
                           class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.Avatar">*
                    Avatar:
                </form:label></td>
                <td form:label path="registrationUser.Avatar">
                    <div class="fileinputs">
                        <input type="file" class="file"/>

                        <div class="fakefile">
                            <input type="text" class="dima"/>

                            <div class="btn2 btn-primary2">Browse</div>
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td><form:label path="registrationUser.About">*
                    About:
                </form:label></td>
                <td>
                    <form:textarea path="registrationUser.About" type="text" name="about" maxlength="300"
                              class="input-block-level"/>
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Sign up" class="btn btn-large btn-primary"/>
                </td>
            </tr>
        </table>
    </form:form>
</div>
</body>
</html>